package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆轨迹信息对象 tbl_trail
 * 
 * @author zbb
 * @date 2023-02-13
 */
public class Trail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轨迹信息ID */
    private Long trailId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carNum;

    /** 车辆起始位置 */
    @Excel(name = "车辆起始位置")
    private String locationStart;

    /** 车辆终点位置 */
    @Excel(name = "车辆终点位置")
    private String locationEnd;

    /** 轨迹信息 */
    @Excel(name = "轨迹信息")
    private String trailMassage;

    /** 车辆开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "车辆开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trailStart;

    /** 预计结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trailYujiEnd;

    /** 实际结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trailEnd;

    /** 轨迹状态(1正在行驶中，0未开始，2已结束) */
    @Excel(name = "轨迹状态(1正在行驶中，0未开始，2已结束)")
    private String isState;

    public void setTrailId(Long trailId) 
    {
        this.trailId = trailId;
    }

    public Long getTrailId() 
    {
        return trailId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setLocationStart(String locationStart) 
    {
        this.locationStart = locationStart;
    }

    public String getLocationStart() 
    {
        return locationStart;
    }
    public void setLocationEnd(String locationEnd) 
    {
        this.locationEnd = locationEnd;
    }

    public String getLocationEnd() 
    {
        return locationEnd;
    }
    public void setTrailMassage(String trailMassage) 
    {
        this.trailMassage = trailMassage;
    }

    public String getTrailMassage() 
    {
        return trailMassage;
    }
    public void setTrailStart(Date trailStart) 
    {
        this.trailStart = trailStart;
    }

    public Date getTrailStart() 
    {
        return trailStart;
    }
    public void setTrailYujiEnd(Date trailYujiEnd) 
    {
        this.trailYujiEnd = trailYujiEnd;
    }

    public Date getTrailYujiEnd() 
    {
        return trailYujiEnd;
    }
    public void setTrailEnd(Date trailEnd) 
    {
        this.trailEnd = trailEnd;
    }

    public Date getTrailEnd() 
    {
        return trailEnd;
    }
    public void setIsState(String isState) 
    {
        this.isState = isState;
    }

    public String getIsState() 
    {
        return isState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trailId", getTrailId())
            .append("carNum", getCarNum())
            .append("locationStart", getLocationStart())
            .append("locationEnd", getLocationEnd())
            .append("trailMassage", getTrailMassage())
            .append("trailStart", getTrailStart())
            .append("trailYujiEnd", getTrailYujiEnd())
            .append("trailEnd", getTrailEnd())
            .append("isState", getIsState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
